package com.winchain.provider.expiration.dao;

import com.shell.bee.persistence.mapper.BaseMapper;
import com.winchain.provider.expiration.po.CbCredit;
import com.winchain.provider.expiration.vo.CbCreditQueryVo;
import com.winchain.provider.expiration.vo.CbCreditVo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface CbCreditDao extends BaseMapper<CbCredit> {
	public abstract int updateCreditState(@Param("state") String paramString, @Param("ids") List<String> paramList);

	public abstract CbCredit lockByKey(@Param("key") String paramString);

	public abstract List<CbCreditVo> selectCreditAbnormalList(CbCreditQueryVo paramCbCreditQueryVo);

	public abstract List<CbCreditVo> selectCreditList(CbCreditQueryVo paramCbCreditQueryVo);

	public abstract List<CbCreditVo> selectDebitCreditList(CbCreditQueryVo paramCbCreditQueryVo);

	public abstract List<CbCredit> getBillCredits(@Param("creditDate") String paramString1,
			@Param("grpId") String paramString2, @Param("creditState") String paramString3,
			@Param("creditType") String paramString4);
}
